.tag-factory {
  padding: 0 10px 10px 10px;
  background-color: #fff;
  position: absolute;
  top: 60px;
  right: 0;
  bottom: 5px;
  left: 0;
  .factory-list,
  .factory-calculate {
    width: 300px;
    height: 100%;
    border-right: 1px solid $border-color;
    overflow-y: auto;
    .el-collapse {
      height: 100%;
      color: #fff;
      background-color: #5973b2;
    }
    .el-collapse-item__header {
      font-size: 15px;
      font-weight: bold;
      padding: 0 10px 0 20px;
      color: inherit;
      background-color: #6a86cc;
      border-color: #fff;
      svg {
        width: 25px;
        height: 25px;
        margin-right: 8px;
      }
    }
    .el-collapse-item__content {
      background-color: #f0f4f7;
      padding: 10px 0;
      line-height: 1;
    }
    .el-collapse-item__wrap {
      border: 0;
    }
    // .factory-top {
    //   padding: 0 20px;
    //   .el-input__inner {
    //     height: 35px;
    //     line-height: 35px;
    //     margin-top: 10px;
    //   }
    //   .el-input-group__append {
    //     border: 0;
    //     vertical-align: text-bottom;
    //   }
    //   .el-button {
    //     padding: 10px 20px;
    //     border-top-left-radius: 0;
    //     border-bottom-left-radius: 0;
    //     color: #fff;
    //     background-color: #6b6fd0;
    //   }
    // }
    .tag-wrap {
      .el-input {
        padding: 0 20px;
        margin: 5px 0 10px 0;
      }
      .el-input__inner {
        height: 35px;
        line-height: 35px;
        background-color: inherit;
        border-color: #455fbc;
      }
      .el-input__icon {
        line-height: 1 !important;
      }
      .el-input-group__append {
        padding: 0 15px;
        border-color: #455fbc;
        background-color: #455fbc;
        svg {
          width: 20px;
          height: 20px;
          color: #fff;
        }
      }
      .el-input__suffix {
        right: 20px;
      }
    }
    .factory-aside {
      color: #455fbc;
      .el-breadcrumb__inner {
        font-size: 15px;
        font-weight: bold;
        color: #455fbc;
        &:hover {
          color: #455fbc;
        }
      }
      .drag-item {
        padding: 0 30px 0 20px;
        line-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
        position: relative;
        &:hover {
          background-color: #c0d2f6;
          &:not(.tag-disabled):before {
            width: 10px;
            height: 10px;
            content: '';
            border: 2px solid rgba(#000, 0.3);
            background-color: #a8fff9;
            border-radius: 50%;
            position: absolute;
            top: 15px;
            left: 5px;
          }
          &.tag-disabled .icon-disabled {
            display: block;
          }
        }
        i {
          position: absolute;
          top: 15px;
          right: 15px;
        }
      }
      .asset-name {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .tag-item {
        padding-right: 60px;
        .list-handler {
          position: absolute;
          top: 0;
          right: 10px;
          .plus {
            display: inline-block;
            width: 18px;
            height: 18px;
            margin-top: -5px;
            border: 1px solid #5f8eec;
            color: #5f8eec;
            line-height: 15px;
            text-align: center;
            border-radius: 50%;
            vertical-align: middle;
            i {
              font-size: 12px;
              position: static;
            }
          }
          svg {
            width: 16px;
            height: 16px;
            color: #455fbc;
            margin: -5px 5px 0 10px;
            vertical-align: middle;
          }
        }
      }
      .tag-disabled {
        cursor: default;
        .asset-name {
          opacity: 0.45;
        }
        .icon-disabled {
          width: 10px;
          height: 10px;
          color: #ff0000;
          margin-top: -5px;
          position: absolute;
          top: 50%;
          left: 5px;
          display: none;
        }
      }
      p {
        padding: 0 20px;
        margin: 10px 0 20px 0;
      }
      .el-pagination {
        padding: 2px 20px;
        white-space: normal;
      }
      .el-pagination.is-background .el-pager li:not(.disabled).active {
        background-color: #455fbc;
      }
    }
  }
  // .factory-top {
  //   height: 55px;
  // }
  .factory-content {
    min-width: 1080px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 10px;
    left: 0;
    margin-left: 350px;
    margin-right: 10px;
    .el-form {
      height: 100%;
    }
    .factory-top {
      .el-form-item {
        margin: 0 0 10px 0;
      }
      .el-input {
        width: fit-content;
      }
      .el-input__prefix {
        top: 10px;
        color: #4455bb;
        svg {
          width: 20px;
          height: 20px;
        }
      }
      .el-input__inner {
        font-size: 20px;
        font-weight: bold;
        height: 35px;
        line-height: 35px;
        margin-top: 10px;
        color: #333;
        // background-color: #455fbc;
        border-color: #fff;
        text-align: left;
      }
      .el-form-item__error {
        top: 85%;
        left: 5px;
      }
    }
    .list-wrap {
      padding: 20px;
      min-height: 150px;
      background-color: #f6f7f8;
      .ul,
      .ol {
        padding-left: 100px;
        position: relative;
        &.space {
          padding-left: 100px;
        }
        .logical {
          width: 100px;
          position: absolute;
          top: 0;
          left: 0;
          bottom: 0;
          &.space-logical {
            left: 100px;
          }
          .el-form-item {
            position: absolute;
            top: 50%;
            left: 15px;
            margin-top: -20px;
            z-index: 2;
          }
          .el-input__suffix {
            display: none;
          }
          .el-input__inner {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            padding: 0 !important;
            text-align: center;
            color: #fff;
            background-color: #bf843e;
            cursor: pointer;
          }
          &:before {
            width: 60%;
            height: calc(50% - 30px);
            content: '';
            border-width: 3px;
            border-style: solid;
            border-color: transparent;
            border-top-color: #bf843e;
            border-left-color: #bf843e;
            position: absolute;
            top: 20px;
            bottom: 50%;
            right: calc(10% - 5px);
          }
          &:after {
            width: 60%;
            height: calc(50% - 30px);
            content: '';
            border-width: 3px;
            border-style: solid;
            border-color: transparent;
            border-bottom-color: #bf843e;
            border-left-color: #bf843e;
            position: absolute;
            top: calc(50% + 8px);
            bottom: 20px;
            right: calc(10% - 5px);
          }
          &.logical-or {
            &:before {
              border-top-color: #479fa3;
              border-left-color: #479fa3;
            }
            &:after {
              border-bottom-color: #479fa3;
              border-left-color: #479fa3;
            }
            .el-input__inner {
              background-color: #479fa3;
            }
          }
        }
      }
      .ul-wrap {
        margin: 5px;
        border: 1px solid #ddd;
        box-shadow: 1px 1px 5px #ddd;
      }
      .list-item {
        padding: 10px 50px 10px 10px;
        margin-bottom: 20px;
        border-radius: 5px;
        // background-color: #fff;
        position: relative;
      }
      .item {
        height: 40px;
        line-height: 40px;
        color: #455fbc;
        background-color: #c0d2f6;
        border-radius: 5px;
      }
      .lost-item {
        text-align: center;
        color: #fff !important;
        background-color: #ff7c7c !important;
        border-color: #ff7c7c !important;
      }
      .el-col-8 .item {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: move;
      }
      .el-button {
        color: #455fbc;
        background-color: #c0d2f6;
        border-color: #c0d2f6;
        position: absolute;
        right: 10px;
        top: 15px;
      }
      .el-form-item {
        .el-input__prefix,
        .el-input__suffix,
        .el-date-editor .el-range__icon,
        .el-select .el-input .el-select__caret {
          color: #455fbc;
        }
        .el-tag.el-tag--info {
          color: #4455bb;
          background-color: #e8f0ff;
        }
        .el-select .el-tag__close.el-icon-close {
          color: #fff;
          background-color: #97b5f3;
        }
        .el-input__inner,
        .el-range-editor .el-range-input,
        .el-select__input {
          color: #455fbc;
          background-color: #c0d2f6;
          border: 0;
          &::-webkit-input-placeholder {
            color: #455fbc;
          }
          &::-moz-placeholder {
            color: #455fbc;
          }
          &::-ms-input-placeholder {
            color: #455fbc;
          }
        }
        .el-select,
        .el-input-number,
        .el-date-editor {
          width: 100%;
          &.normal {
            width: 25%;
          }
        }
        .el-input-number .el-input__inner {
          padding: 0 15px;
          text-align: left;
        }
        .el-input-number__decrease,
        .el-input-number__increase {
          display: none;
        }
        .el-date-editor {
          height: auto;
          .el-range-input {
            color: #455fbc;
          }
          .el-range-separator {
            color: #455fbc;
            width: 30px;
          }
        }
      }
    }
    .btns {
      text-align: right;
      .data-auth {
        color: #455fbc;
        margin: 0 20px;
        & + .data-auth {
          margin-left: 20px;
        }
      }
      .el-button {
        margin-top: 9px;
      }
      .el-button {
        font-size: 15px;
        color: #455fbc;
        background-color: transparent;
        border-color: transparent;
        svg {
          font-size: 20px;
          width: 20px;
          height: 20px;
          margin-right: 3px;
          margin-top: -5px;
          vertical-align: middle;
          // color: #455fbc;
        }
        & + .el-button {
          margin-left: 0;
        }
        &.disabled {
          color: #999;
        }
      }
      .el-date-editor.el-input {
        width: 150px;
      }
      .el-input--prefix {
        .el-input__inner {
          height: 35px;
          color: #455fbc;
          border-color: #455fbc;
        }
        .el-input__icon {
          color: #455fbc;
        }
        .el-input__prefix,
        .el-input__suffix {
          top: -3px;
        }
      }
    }
  }
  .tab-title {
    font-size: 15px;
    font-weight: bold;
    padding: 5px 0 10px 45px;
    color: #455fbc;
    position: relative;
    .el-breadcrumb__inner {
      color: #fff;
      cursor: pointer;
      &:hover {
        color: #fff;
      }
    }
    .el-breadcrumb__item.normal .el-breadcrumb__inner {
      font-weight: normal;
    }
    svg {
      width: 18px;
      height: 18px;
      position: absolute;
      left: 20px;
      top: 2px;
      cursor: pointer;
    }
  }
  .factory-content .list-wrap .el-col-4 {
    .el-form-item .el-input__inner {
      text-align: center;
    }
    .el-input__inner,
    .el-range-editor .el-range-input,
    .el-select__input {
      background-color: #fff;
      border: 1px solid #c0d2f6;
    }
  }
  .catalogclass-title {
    display: inline-block;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
